package com.pansoft.openplanet.bean;

public class TotalAssetBean {

    private Object assetIcon;
    private String accountAddress;//地址
    private String assetName;//资产名，如ETH， BTC
    private String accountName;//钱包名
    private String assetValue;//资产值
    private String rate;//兑人民币汇率
    private String rmbValue;//换算人民币值

    private boolean isShowNum;//显示数字，默认显示*

    private TotalAssetBean(Builder builder) {
        assetIcon = builder.assetIcon;
        accountAddress = builder.accountAddress;
        assetName = builder.assetName;
        accountName = builder.accountName;
        assetValue = builder.assetValue;
        rate = builder.rate;
        rmbValue = builder.rmbValue;
        isShowNum = builder.isShowNum;
    }

    public Object getAssetIcon() {
        return assetIcon;
    }

    public String getAccountAddress() {
        return accountAddress;
    }

    public String getAssetName() {
        return assetName;
    }

    public String getAccountName() {
        return accountName;
    }

    public String getAssetValue() {
        return assetValue;
    }

    public String getRate() {
        return rate;
    }

    public String getRmbValue() {
        return rmbValue;
    }

    public void setRmbValue(String rmbValue) {
        this.rmbValue = rmbValue;
    }

    public void setAssetValue(String assetValue) {
        this.assetValue = assetValue;
    }

    public void setRate(String rate) {
        this.rate = rate;
    }

    public boolean isShowNum() {
        return isShowNum;
    }

    public void setShowNum(boolean showNum) {
        isShowNum = showNum;
    }

    public static final class Builder {
        private Object assetIcon;
        private String accountAddress;
        private String assetName;
        private String accountName;
        private String assetValue;
        private String rate;
        private String rmbValue;
        private boolean isShowNum;

        public Builder() {
        }

        public Builder assetIcon(Object val) {
            assetIcon = val;
            return this;
        }

        public Builder accountAddress(String val) {
            accountAddress = val;
            return this;
        }

        public Builder assetName(String val) {
            assetName = val;
            return this;
        }

        public Builder accountName(String val) {
            accountName = val;
            return this;
        }

        public Builder assetValue(String val) {
            assetValue = val;
            return this;
        }

        public Builder rate(String val) {
            rate = val;
            return this;
        }

        public Builder rmbValue(String val) {
            rmbValue = val;
            return this;
        }

        public Builder isShowNum(boolean val) {
            isShowNum = val;
            return this;
        }

        public TotalAssetBean build() {
            return new TotalAssetBean(this);
        }
    }
}
